home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 - Homepage / CHIP.BIN / share / htmledit / bashhtml / bashhtml.exe / %AppDir% / scripts / Back-Forward (Frames).txt < prev    next >
Encoding:
Text File  |  2003-09-01  |  446 b   |  15 lines

  1. [DESCRIPTION]Makes sure other websites don't place your page in a frame. If your page is framed, the browser window will be forwarded to your website.[/DESCRIPTION]
  2.  
  3. [HEAD CODE]<SCRIPT LANGUAGE="JavaScript">
  4. <!-- 
  5. setTimeout ("changePage()", 3000);
  6. function changePage() {
  7. if (self.parent.frames.length != 0)
  8. self.parent.location="http://www.bashsoftware.tk";
  9. }
  10. // -->
  11. </SCRIPT>[/HEAD CODE]
  12.  
  13. [BODY CODE][/BODY CODE]
  14.  
  15. [NOTES][/NOTES]